package br.com.po1.ex2;

public class Main {
	public static void main(String[] args) {
		Data date = new Data();
		date.cadastrar();
		if(date.isLeapYear()){
			System.out.println("YAY");
		}else{
			System.out.println("OH NOES");
		}
		System.out.println(date.toString());
		System.out.println(date.dateFormat().toLocaleString());
	}

}
